# coding:utf-8
# local scope
"""
A variable created inside a function
belongs to the local scope of that function,
and can only be used inside that function.
"""
def myfunc(): #引数無し関数の定義
x = 300
print(x)
myfunc()#関数の呼出し
def myfunc(): #引数無し関数の定義
x = 300
def myinnerfunc(): #引数無し関数の定義
print(x)
myinnerfunc() #関数の呼出し
myfunc() #関数の呼出し